package com.pshcp.domain.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table(name = "t_sys_dict_yy")
public class SysDictYy implements Serializable {
    private static final long serialVersionUID=1L;
    /**
     * 字段类型：诊断
     */
    public static final Integer DICT_TYPE_DIAGNOSE = 100;

    public static final Integer DICT_TYPE_OPERATION_NAME = 110;

    public static final Integer DICT_TYPE_OPERATION_ADDRESS = 120;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    private Integer dictId;

    private Integer dictType;

    private String typeName;

    private String dictName;

    private String dictCode;

    private Integer sort;

    private Integer status;
}
